package com.zhuiyun.project.api.submitrecord.service;


import com.zhuiyun.project.api.submitrecord.entity.SubmitRecord;
import com.zhuiyun.project.common.response.CommonResult;

import java.util.List;
import java.util.Map;

/**
 * @ClassName LotteryService
 * @Description TODO
 * @Author 17179
 * @Date 2024/7/16 15:48
 **/
public interface ISubmitService {
    CommonResult saveSubmitRecord(SubmitRecord submit);


    CommonResult getMySubmitRecord();

    CommonResult getSubmitRecordByType(Integer lotteryTypeIndex,Integer projectNameIndex,String lotteryNo);

    CommonResult getSubmitRecordByPhoneAndType(Integer lotteryTypeIndex, Integer projectNameIndex, String phoneNumber);

    CommonResult getMyExperience();

    List<SubmitRecord> getLastSubmit(String type, String lastLotteryNo);

    int updateSubmitFlag(SubmitRecord submitRecord);

    CommonResult payCommission(SubmitRecord submit);

    CommonResult getSubmitRecordByTypeAndToday(Integer lotteryTypeIndex, Integer projectNameIndex, String lotteryNo);
}